package com.ruoyi.wx.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 字典对象 dictionary
 * 
 * @author wt
 * @date 2020-12-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("dictionary")
public class Dictionary implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id")
    @TableField(value = "`id`")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @TableField(value = "`name`")
    private String name;

    /** 键 */
    @Excel(name = "键")
    @TableField(value = "`KEY`")
    private String key;

    /** 值 */
    @Excel(name = "值")
    @TableField(value = "`VALUE`")
    private String value;

    /** 类型 */
    @Excel(name = "类型")
    @TableField(value = "`TYPE`")
    private String type;

    /** 上级id */
    @Excel(name = "上级id")
    @TableField(value = "`parent`")
    private Long parent;

    /** 状态 1 是启用0禁用 */
    @Excel(name = "状态 1 是启用0禁用")
    @TableField(value = "`STATE`")
    private Long state;

    /** 备注 */
    @Excel(name = "备注")
    @TableField(value = "`remark`")
    private String remark;
}
